package com.shoulei.designpattern.adapterPattern;

/**
 * @ClassName:AdapterPatternDemo
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/3/31 21:48
 * @Verson:
 */
public class AdapterPatternDemo {
    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();
        audioPlayer.play("mp3","ai.mp3");
        audioPlayer.play("vlc","dang.flv");
        audioPlayer.play("mp4","go home.mp4");
        audioPlayer.play("jpg","hell.jpg");
    }
}
